package com.prothink.service.impl;

import com.prothink.dao.JsUserOrderDao;
import com.prothink.entity.JsUserOrder;
import com.prothink.service.JsUserOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class JsUserOrderServiceImpl implements JsUserOrderService {
    @Autowired
    private JsUserOrderDao jsUserOrderDao;


    @Override
    public List<JsUserOrder> get(JsUserOrder jsUserOrder) {
        return jsUserOrderDao.get(jsUserOrder);
    }

    @Override
    public String selet(Integer userNumber) {
        return jsUserOrderDao.selet(userNumber);
    }

    @Override
    public void dele(Integer orderNo) {
        jsUserOrderDao.dele(orderNo);
    }
}
